package com.kaibes.platform.file.client.admin;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FileClientConfigAdmin implements InitializingBean {
    
	@Override
	public void afterPropertiesSet() throws Exception {
        // 移除通用的页面权限要求
//        apiLinkService.setValidatedByName(false, 
//        		"[/admin, /admin/]_GET", // 后台主页不需要权限
//        		"[/admin/index]_GET", // 后台主页不需要权限
//        		"[/files/encryptions]_POST", 
//        		"[/files/maps]_POST",
//        		"[/files/maps/self]_DELETE",
//        		"[/files/maps/self/{id:\\d+}]_DELETE"
//				);
	}
    
}
